package com.hymall.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: 章鹏
 * @description 统计报表 → 订单统计 → 按天统计订单量，下单货品数量，下单货品总额
 * @date: 2022/7/17 19:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminStatGoodsInnerRowsVO {
    /**
     * amount : 2989
     * orders : 10
     * day : 2022-07-15
     * products : 11
     */

    private double amount;
    private int orders;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    private Date day;
    private int products;
}
